package com.tengju.bff.interfaces.manage.crm.motivation.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author: 李大仙
 * @Date: 2021/3/11 10:38 上午
 */
@Data
@ApiModel(value = "AddPerformanceObjectiveForm", description = "添加绩效目标请求参数")
public class AddPerformanceObjectiveForm {

    @ApiModelProperty(value = "绩效目标对象ID")
    @NotNull(message = "绩效目标对象ID不能为空")
    private Long objectId;

    @ApiModelProperty(value = "绩效对象类型 1俱乐部")
    @NotNull(message = "绩效对象类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "绩效目标key")
    @NotNull(message = "绩效目标key不能为空")
    private String key;

    @ApiModelProperty(value = "绩效目标名称")
    @NotNull(message = "绩效目标名称不能为空")
    private String name;

    @ApiModelProperty(value = "绩效目标描述")
    @NotNull(message = "绩效目标描述不能为空")
    private String desc;

    @ApiModelProperty(value = "绩效目标值")
    @NotNull(message = "绩效目标值不能为空")
    private Integer value;

    @ApiModelProperty(value = "绩效目标开始时间")
    @NotNull(message = "绩效目标开始时间不能为空")
    private Integer startTime;

    @ApiModelProperty(value = "绩效目标结束时间")
    @NotNull(message = "绩效目标结束时间不能为空")
    private Integer endTime;
}